package com.sky.mapper.user;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author cgj
 * @Description
 * @create 2025-10-31 下午5:10
 */
@Mapper
public interface UserMapper {

    @Select("select * from sky_take_out.user where openid=#{openid}")
    User login(String openid);

    void insert(User user);
}
